<div class="<?php echo $portlet_style;//portlet box light-grey?>">
	<div class="portlet-title">
		<h4>
			<i class="icon-reorder"></i>
			<?php echo $portlet_title;?>
		</h4>
	    <div class="tools hidden-phone">
			<a href="javascript:;" class="reload"></a>
		</div>
	</div>
	<?php 
	switch ($portlet_type){
		case 'Form':
			include 'custom/'.$form.'.php';
			break;
		case 'Data':
			include 'table.php';
			break;
		case 'View':
			include 'custom/'.$view.'.php';
			break;
		default:
			echo "<div class=\"portlet-body\">Unknown portlet type</div>";
	}
	?>
</div>
